Skip to main content

All Subeditions

This script returns an array of all the plays that have ever been created for Top Shot.

Returns: [TopShot.Play] - Array of all plays created for Topshot

import TopShot from 0xTOPSHOTADDRESS

pub fun main(): [TopShot.Subedition] {

return TopShot.getAllSubeditions()
}